<?php

include_once ('common.php');
// Set the time in seconds after which the users buddylist is refreshed (default: 60)
define('REFRESH_BUDDYLIST', '60');
// Set the time in seconds after which a user is considered offline if no response is received (default: 120)
define('ONLINE_TIMEOUT', '60');
// Set to 1 if you want to disable smileys (default: 0)
define('DISABLE_SMILEYS', '0');
// Smileys
$smileys = array(':)' => 'smiley', ':-)' => 'smiley', ':(' => 'smiley-sad', ':-(' => 'smiley-sad', ':D' => 'smiley-lol', ';-)' => 'smiley-wink', ';)' => 'smiley-wink', ':o' => 'smiley-surprise', ':-o' => 'smiley-surprise', '8-)' => 'smiley-cool', '8)' => 'smiley-cool', ':|' => 'smiley-neutral', ':-|' => 'smiley-neutral', ":'(" => 'smiley-cry', ":'-(" => 'smiley-cry', ":p" => 'smiley-razz', ":-p" => 'smiley-razz', ":s" => 'smiley-confuse', ":-s" => 'smiley-confuse', ":x" => 'smiley-mad', ":-x" => 'smiley-mad', );
session_name("cometchat");
session_start();
function stripSlashesDeep($value)
{
    $value = is_array($value) ? array_map('stripSlashesDeep', $value) : stripslashes($value);
    return $value;
}
if (get_magic_quotes_gpc())
{
    $_GET = stripSlashesDeep($_GET);
    $_POST = stripSlashesDeep($_POST);
    $_COOKIE = stripSlashesDeep($_COOKIE);
}

?>